package com.cloud.imgCloud.controller;

import com.cloud.imgCloud.common.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author 小牛
 * 健康检查
 */
@RestController
@RequestMapping("/")
public class MainController {
    @GetMapping("/health")
    public R<String> health() {
        return R.ok();
    }
}
